net: sandbox: Make the fake eth driver response configurable
authorJoe Hershberger <[email protected]>
Wed, 26 Sep 2018 21:48:55 +0000 (16:48 -0500)
committerJoe Hershberger <[email protected]>
Wed, 10 Oct 2018 17:28:57 +0000 (12:28 -0500)
commitc7eb733d606667508b69ee922e9738d55259304e
treed836fdf2de7b2d5f36bb1c3bee79d67ecd7f1f9d
parente95bb1611043ff1ad5b63602e32bba302e402491
net: sandbox: Make the fake eth driver response configurable

Make the send handler registerable so tests can check for different
things.

Signed-off-by: Joe Hershberger <[email protected]>
Reviewed-by: Simon Glass <[email protected]>
Reviewed-by: Bin Meng <[email protected]>
arch/sandbox/include/asm/eth.h
drivers/net/sandbox.c